@extends('system.frame_layout')
<?php $parent_menu = "财务中心"; $menu_selected = "提现记录";?>

@section('content')
    <div id="content-panel">
        <div class="row">
            <div class="col-xs-12">
                <div class="portlet light bordered">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-social-dribbble font-dark hide"></i>
                            <span class="caption-subject font-dark bold">会员提现记录 User Withdraw Logs</span>
                        </div>
                    </div>
                    <div class="portlet-body">
                        <table class="table table-hover table-responsive">
                            <thead>
                            <tr>
                                <th>编号</th>
                                <th>钱包类型</th>
                                <th>金额</th>
                                <th>手续费</th>
                                <th>到账金额</th>
                                <th>收款备注</th>
                                <th>进度</th>
                                <th>结果备注</th>
                                <th>提现时间</th>
                            </tr>
                            </thead>
                            <tbody>
                            @foreach($withdrawLogs as $log)
                                <tr>
                                    <td>{{ $log->no }}</td>
                                    <td>{{ $log->wallet == 1 ? "奖金币钱包" : "报单币钱包" }}</td>
                                    <td>{{ $log->money }}</td>
                                    <td>{{ $log->tax_money }}</td>
                                    <td>{{ $log->ok_money }}</td>
                                    <td>{{ $log->intro }}</td>
                                    <td class="red">
                                        @if($log->status == 0)
                                            待审核
                                        @elseif($log->status == 1)
                                            提现成功
                                        @elseif($log->status == 2)
                                            被拒绝
                                        @endif
                                    </td>
                                    <td>{{ $log->result or "无" }}</td>
                                    <td>{{ date("Y-m-d H:i:s",$log->time) }}</td>
                                </tr>
                            @endforeach
                            </tbody>
                        </table>

                        @include('system.coms.fenye')

                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection

@section('footer')
@endsection